home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_51.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  59KB  |  816x1056  |  8-bit (254 colors)
Labels: book | bulletin board | crt screen | poster | reckoner | sky | trade name | windowpane
OCR: Lesson 10 I-47 The colon definition that calculates this be: formula denom numl num2 num3 solution swap DUP is somet. imes useful for particular arithmetic appl ications An ex is use 1 + to cal lculate the square Q number Ins tead of enteri bu you can enter only one dupli .cate and then mult iply the two dup Calculating the cube of number could be performed like this: dup dup Therefore, you could set up Mops word "cubed" to perform the cube ca cubed dup dup Then you could type cubed" from the Mops and the answer wou screen ke cubed Exper iment with the other stack mani ipulation operators descr ibed above in ther qaeters stack, issue the commands and see what happens in the need to, you can comb .ne two or more ack man ipulati .on operators in de fin. ion your ari thme needs ar But overall ...